/*
 * 作者		www.TheWk.cn.vc
 * 开发环境	Windows7 64位 MyEclipse8.6 JDK1.6.0_37
 * 开发日期	2013-11-1
 */
package common.model;

import java.util.List;
/**
 * <hr/>
 * 
 * @author www.TheWk.cn.vc
 * @version 1.0 2013-11-1
 */
public class EasyUiGridFavoriteModel extends BaseModel {

	private static final long serialVersionUID = -8116092624502674794L;

	public static final int   Status_Success   = 200;
	public static final int   Status_Error     = 300;

	private int               status;
	private String            message;
	private long              total;
	private List          merchants_followed; //关注的商户
	private List        goods_followed; //关注的商品

	

	

	public List getMerchants_followed() {
		return merchants_followed;
	}

	public void setMerchants_followed(List merchants_followed) {
		this.merchants_followed = merchants_followed;
	}

	public List getGoods_followed() {
		return goods_followed;
	}

	public void setGoods_followed(List goods_followed) {
		this.goods_followed = goods_followed;
	}

	/**
	 * 状态为Error
	 */
	public EasyUiGridFavoriteModel() {
		
	}

	/**
	 * 传入状态
	 */
	public EasyUiGridFavoriteModel(int status) {
		this.status = status;
	}

	/**
	 * 传入消息,状态为Error
	 */
	public EasyUiGridFavoriteModel(String message) {
		this.status = Status_Error;
		this.message = message;
	}

	public EasyUiGridFavoriteModel(List rows) {
		this.status = Status_Success;
	}

	public EasyUiGridFavoriteModel(List rows, long total) {
		this.status = Status_Success;
		this.total = total;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	

}
